home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1 / Nebula One.iso / Communications / pcomm / Source / config.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-06-12  |  2.4 KB  |  91 lines

  1. /*
  2.  * Various tunable parameters.  This should appear before any other local
  3.  * header file.
  4.  */
  5.  
  6. /* Are you using a Berkeley flavor of Unix? */
  7. /* ------------- */
  8. #define    BSD    1
  9.  
  10. /* Use the dialing routines specific to the AT&T Unix PC 7300/3b1 */
  11. #undef    UNIXPC
  12.  
  13. /* Older versions of curses(3) use termcap in lieu of terminfo */
  14. /* ------------------- */
  15. #define    OLDCURSES    1
  16.  
  17. /* Use shared memory in lieu of a file for the virtual screen */
  18. #undef    SHAREDMEM    
  19.  
  20. /* Should a missing video attribute be promoted to standout? */
  21. #define NOPROMOTE    0
  22.  
  23. /* Use extra precautions if Pcomm is set-user-id or set-group-id */
  24. #undef    SETUGID
  25.  
  26. /* Should Pcomm make a log of all phone calls? */
  27. #undef    LOG_CALLS
  28.  
  29. /* The name of the log file (if used).  */
  30. #define    LOGFILE        "/usr/local/lib/pcomm/phone.calls"
  31.  
  32. /* Should long distance (toll) calls be limited to a specific group? */
  33. #undef    LIMIT_LD
  34.  
  35. /* The name of the privileged group for limiting long distance calls */
  36. #define    GROUP_NAME    "uucp"
  37.  
  38. /* The path to the line printer program */
  39. #define    LPR        "lp"
  40.  
  41. /* The path to the "pretty" printer program (if none, use "pr | lp") */
  42. #define    LPRINT        "pr | lp"
  43.  
  44. /* The path to the default directory containing the Pcomm support files */
  45. #define    DEFAULT_DIR    "/usr/local/lib/pcomm"
  46.  
  47. /* The path to the directory where UUCP locks are found */
  48. #define    LOCK_DIR    "/usr/spool/uucp/LCK"
  49.  
  50. /* Do the lock files use ASCII encoded PID's? */
  51. /* -------------- */
  52. #define    ASCII_PID    1
  53.  
  54. /* Fold the last character of the lock to lower case? */
  55. #undef    XENIX_LOCKS
  56.  
  57. /* Use the new SVR4 lock format? */
  58. #undef    SVR4_LOCKS
  59.  
  60. /* Should Pcomm optimize redialing by keeping the TTY port open */
  61. #define    KEEP_PORT    1
  62.  
  63. /* Does the status line scroll up on "magic cookie" terminals? */
  64. #undef    XMC_BROKE
  65.  
  66. /* Does the alarm() system call work correctly with the wgetch() function? */
  67. #undef    WGETCH_BROKE
  68.  
  69. /* The size of the serial port character buffer */
  70. #define CLIST_SIZ    64
  71.  
  72. /* The size of the input buffer (should be about the same as CLIST_SIZ) */
  73. #define INPUT_BUF    64
  74.  
  75. /* The size of the output buffer (should be about one half INPUT_BUF) */
  76. #define OUTPUT_BUF    32
  77.  
  78. /* Does memmove() exist or is memcpy() well behaved when overlapping? */
  79. #define MEMMOVE    memcpy
  80.  
  81. /* Does your Unix allow flip-flop between real and effective user IDs? */
  82. #undef SETUID_BROKE
  83.  
  84. typedef void SIG_TYPE;
  85. /* typedef int SIG_TYPE; */
  86.  
  87. #ifdef BSD
  88. #define strchr index
  89. #define strrchr rindex
  90. #endif /* BSD */
  91.